package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.Resource;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface RoleService {
    Set<String> getAllRolesByUserName(String username);
    Set<String> getAllPermissionsByUserName(String username);
    Map selectRoleByPage(int page, int limit);
    List<Resource> showAllResource();
}
